Test Series - computer fundamental

Test Number 27/95

Q: CPU has built-in ability to execute a particular set of machine instructions, called as __________
A. Instruction Set
B. Registers
C. Sequence Set
D. User instructions
Solution: An instruction is any task which is to be performed by the processor. Instructions are stored in the register. Instruction set is the set of machine instructions.
Q: Opcode indicates the operations to be performed.
A. True
B. False
C. none
D. 0
Solution: Every instruction has an opcode. Additionally, it may have one or more operands and the op code indicates the operation to be performed.
Q: The length of a register is called _______
A. word limit
B. word size
C. register limit
D. register size
Solution: The length of a register is called word size. It tells the number of bits a register can store.
Registers are a part of the CPU.
Q: The _________ holds the contents of the accessed memory word.
A. MAR
B. MBR
C. PC
D. IR
Solution: The MBR holds the contents of the accessed (read/written) memory word.
MBR stands for Memory Buffer Register.
Q: Which of the following is not a visible register?
A. General Purpose Registers
B. Address Register
C. Status Register
D. MAR
Solution: MAR or the memory address register is not a visible register. This register is user inaccessible. It contains the address of the memory block to be read or written to.
Q: Which of the following is a data transfer instruction?
A. STA 16-bit address
B. ADD A, B
C. MUL C, D
D. RET
Solution: The instruction STA 16-bit address is a data transfer instruction.
STA means Store in Accumulator.
Q: What is correct instruction if you want the control to go to the location 2000h?
A. MOV 2000h
B. MOV A, 2000h
C. JMP 2000h
D. RET 2000h
Solution: The JMP instruction is used to move to a particular location. In 8085 microprocessor, JMP statement tells the processor to go to location 2000h (here).
Q: What kind of a flag is the sign flag?
A. General Purpose
B. Status
C. Address
D. Instruction
Solution: Sign flag is a type of status register or the flag register. It is used to indicate the sign of certain bits.
Q: The number of sign bits in a 32-bit IEEE format __________
A. 1
B. 11
C. 9
D. 23
Solution: There is only 1 sign bit in all the standards. In a 32-bit format, there is 1 sign bit, 8 bits for the exponent and 23 bits for the mantissa.
Q: New CPU whose instruction set includes the instruction set of its predecessor CPU is said to be ___________ with its predecessor.
A. fully compatible
B. forward compatible
C. compatible
D. backward compatible
Solution: The CPU is called backward compatible since it contains the instruction set of its predecessor. Manufacturers tend to group their CPUs into families having similar instruction set.

You Have Score    /10